package com.piggy.logi.sys.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.piggy.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 承运商车辆信息视图对象 logi_carrier_car
 *
 * @author zito
 * @date 2023-08-12
 */
@Data
@Accessors(chain = true)
@ApiModel("承运商车辆信息视图对象")
public class LogiCarrierCarVo {

	private static final long serialVersionUID = 1L;

	/** id */
	@Excel(name = "id")
	@ApiModelProperty("承运商车辆id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long carId;

	/** 车牌号码 */
	@Excel(name = "车牌号码")
	@ApiModelProperty("车牌号码")
	private String licensePlate;

	/** 头车类型 */
	@Excel(name = "头车类型")
	@ApiModelProperty("头车类型")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Integer headType;

	/** 车型 */
	@Excel(name = "车型")
	@ApiModelProperty("车型")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Integer carType;

	/** 车长 */
	@Excel(name = "车长")
	@ApiModelProperty("车长")
	private String carLength;

	/** 车宽 */
	@Excel(name = "车宽")
	@ApiModelProperty("车宽")
	private String carWidth;

	/** 车高 */
	@Excel(name = "车高")
	@ApiModelProperty("车高")
	private String carHeight;

	/** 载重 */
	@Excel(name = "载重")
	@ApiModelProperty("载重")
	private String loadCapacity;

	/** 体积 */
	@Excel(name = "体积")
	@ApiModelProperty("体积")
	private String volume;

	/** 颜色 */
	@Excel(name = "颜色")
	@ApiModelProperty("颜色")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Integer color;

	@ApiModelProperty("行驶证号")
	private String drivingLicenseNo;

	/** 能源类型 */
	@Excel(name = "能源类型")
	@ApiModelProperty("能源类型")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Integer energyType;

	/** 运输用途 */
	@Excel(name = "运输用途")
	@ApiModelProperty("运输用途")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Integer transportUsage;

	/** 购买价格 */
	@Excel(name = "购买价格")
	@ApiModelProperty("购买价格")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private BigDecimal purchasePrice;

	/** 品牌类型 */
	@Excel(name = "品牌类型")
	@ApiModelProperty("品牌类型")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private String brandType;

	/** 车辆识别代码 */
	@Excel(name = "车辆识别代码")
	@ApiModelProperty("车辆识别代码")
	private String vin;

	/** 车主姓名 */
	@Excel(name = "车主姓名")
	@ApiModelProperty("车主姓名")
	private String ownerName;

	/** 联系电话 */
	@Excel(name = "联系电话")
	@ApiModelProperty("联系电话")
	private String contactNumber;

	/** 车主身份证 */
	@Excel(name = "车主身份证")
	@ApiModelProperty("车主身份证")
	private String ownerIdCard;

	@Excel(name = "车主所在地区县Id")
	@ApiModelProperty("车主所在地区县Id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Integer ownerLocationDistrictId;

	@Excel(name = "车主所在地区县")
	@ApiModelProperty("车主所在地区县")
	private String ownerLocationDistrictName;

	@Excel(name = "车主所在地详细")
	@ApiModelProperty("车主所在地详细")
	private String ownerLocationAddress;

	@Excel(name = "车主所在地经度")
	@ApiModelProperty("车主所在地经度")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Float ownerLocationLng;

	@Excel(name = "车主所在地纬度")
	@ApiModelProperty("车主所在地纬度")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Float ownerLocationLat;

	@ApiModelProperty("车辆定位区县Id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Integer positionDistrictId;

	@ApiModelProperty("车辆定位区县名称")
	private String positionDistrictName;

	@ApiModelProperty("车辆定位详细")
	private String positionAddress;

	@ApiModelProperty("车辆定位经度")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Float positionLng;

	@ApiModelProperty("车辆定位纬度")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Float positionLat;

	@ApiModelProperty("行驶证附件")
	private String vehicleAttachment;

	@ApiModelProperty("车辆照片附件")
	private String carPicAttachment;

	@ApiModelProperty("其他附件")
	private String otherAttachment;

	@Excel(name = "备注字段")
	@ApiModelProperty("备注字段")
	private String remark;

	@Excel(name = "创建时间")
	@ApiModelProperty("创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	@Excel(name = "创建人")
	@ApiModelProperty("创建人")
	private String createBy;

	@Excel(name = "更新时间")
	@ApiModelProperty("更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;

	@Excel(name = "更新人")
	@ApiModelProperty("更新人")
	private String updateBy;
}
